#!/usr/bin/env python
#-*- coding:utf-8 -*-
from __future__ import unicode_literals

#腾讯短信

TENCENT_SMS_APP_ID=1400596747
TENCENT_SMS_APP_KEY="ee4ed03b3e7fc599a4849fcf6ee8e7f2"

#短信签名
TENCENT_SMS_SIGN="Agens公众号"
TENCENT_SMS_TEMPLATE = {
    'register': '1200794',
    'login': '1200801'
}
CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://101.35.202.107:26379", # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": {
                "max_connections": 1000,
                "encoding": 'utf-8'
            },
            "PASSWORD": "foobared" # redis密码
        }
    }
}